package com.awei.ssh2boot.modules.user.dao;


import java.util.List;

import com.awei.ssh2boot.modules.user.po.User;


public interface UserDAO {

	public void save(User user);
	public void delete(User user);
	public User findById(Integer id);
	public List findByProperty(String propertyName, Object value);
	public List findAll();
	//用于update
	public User merge(User user);
	public void attachDirty(User user);
	public void attachClean(User user);
}